package com.lianliankan.util;

import java.lang.reflect.Type;
import java.util.LinkedList;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.lianliankan.model.Score;

public class JsonPase {
	public LinkedList<Score> JsonPaser(String json) {
		Type listType = new TypeToken<LinkedList<Score>>() {
		}.getType();
		Gson gson = new Gson();
		LinkedList<Score> scorelist = gson.fromJson(json, listType);
		return scorelist;
	}

	
}